Copyright: CCRP Animation Control copyright (c) 1998 Common Controls Replacement Project
Citation: copyright (c) 1998 Common Controls Replacement Project


Contents

CCRP Animation Control:

          Introduction
          Distribution and Licensing Agreement
          AVI Resource Tutorial
          Support, updates, reporting bugs and suggesting improvements.
          Error Codes
          COMCTL32.DLL versions
          About CCRP

        Included Demos and Examples

               Included Demos and Examples
               Demo.vbp
               ResDemo.vbp
               Resizing a Form to the size of an AVI

        ccrpAnimation Control Reference


Introduction

This control is a direct replacement for the Animation Control provided by COMCT232.OCX. It was created by Jeremy Adams (jeremyadams@hotmail.com), a member of the VB Common Controls Replacement Project, a group aiming to provide separate ActiveX controls to replace and extend the controls found in COMCTL32.OCX and COMCT232.OCX

This control also includes new features found in COMCTL32.DLL but not present in the control provided by COMCT232.OCX. These features include the ability to load an AVI resource and to use a Timer rather than a Thread when displaying the Animation.

Other features in this control are:

* AutoOpen will automatically open the AVI when the control is loaded. If AutoPlay is also true then no code is required to display an AVI.

* Alignment for easy alignment of control to the sides of a form.

* AutoSize to automatically resize the control to fit the frame size of the AVI being displayed.

* Filename property to set filename without code

* OpenAVIResource can be called to load an AVI resource from a compiled EXE using the control.

New Features added for Beta 2:

* Mouse Events

* Status property and StatusChanged event to return the current status of the control

* Appearance property can now be set to ani3DRaised to display the control with a raised 3D effect.

* Support for loading standard resources used by Windows Explorer (see the OpenStandardAVIResource method)

* Support for loading resources from a DLL (see the OpenAVIResourceFromDLL method)

* Control now raises errors as appropriate such as when opening AVI fails.

Bugs fixed in Beta 2:

* When the AutoSize property is set to true, the changes to Height and Width are reflected correctly. In beta 1 the Height and Width properties did not change.

Notes:

The Open, Close and Stop methods of the COMCT232.OCX Animation control have been renamed to OpenAVI, CloseAVI and StopPlaying as VB will not allow creation of methods called Open, Close or Stop because they are VB reserved keywords.

When using OpenAVIResource, you must pass App.hInstance as the second parameter or the control will not be able to locate the resource.

See the included AVI Resource Tutorial for important information about loading AVI resources.

If an AVI does not load, it may be that the AVI is not compatible with the control. The same restrictions apply to AVI files using this control as apply to AVIs loaded using the animation control found in COMCT232.OCX. This means that AVIs with audio streams or AVIs compressed in non-RLE formats may not work. Consult the documentation for COMCT232.OCX for more information.

The AutoSize property works only at runtime. It resizes the control to the size of the AVI. It does not alter the playing of the AVI in any way. Also, the Center property is ignored if AutoSize is true.

Included Demos:

Two demos are included with this control and should be placed in subdirectories when the ZIP is decompressed.

DEMO contains a project that demonstrates most of the Animation Control's features.
RESDEMO contains a project that demonstrates how to load an AVI resource.

The Resource demo is based on work by Ramon Guerrero (zonecorp@dallas.net).

The code to display the File Open Common Dialog was written by Domenico Statuto (dstatuto@mbox.vol.it). He has developed the FileDialogs Control for CCRP which wraps this and much more functionality into an OCX that provides advanced features not provided by COMDLG32.DLL such as allowing the addition of extra controls to the dialog.

Registering the control:

Use RegSvr32 or the Browse button in the Components dialog box within VB5 to register the control. If you get an error whilst attempting to register ccrpani.ocx it is possible that you do not have SP2 installed (see note below about SP2 issues).

SP2 issues:

This control uses the apartment threading features found in SP2 and will not function without SP2 or higher installed.

Videosoft (http://www.videosoft.com) have kindly provided CCRP with a copy of their VSDOCX software for documenting ActiveX controls. This help file was created using VSDOCX. CCRP would like to extend their sincere thanks to Videosoft for their generousity.

CCRP Animation Control
(C)Copyright Jeremy Adams 1997-1998
jeremyadams@hotmail.com


Distribution and Licensing Agreement

You must agree to the following distribution and licensing agreement before using the control. By using the control you indicate your full agreement to the following:

Developers:

CCRP controls are provided as freeware to developers who are solely responsible for determining the suitability of the controls for their use. CCRP controls and related files are the property of the Common Controls Replacement Project, and the CCRP retains the exclusive property rights to the controls. This agreement grants application developers conditional permission for their use.

Application developers are free to distribute with their application any required CCRP control. This also extends to include any demo code that may have been modified in order to achieve the functionality desired in their application. By using CCRP software, the developer acknowledges these conditions covering both the use and distribution of CCRP controls, and their use shall constitute acceptance of this agreement.
Under no circumstance does the control author or the Common Controls Replacement Project assume any responsibility for the reliability of the CCRP controls, nor responsibility in the unlikely event of any possible loss of data that may be incurred from such use.

Distributors:

The CCRP website (http://www.mvps.org/ccrp) and the CCRP newsgroup (news.mvps.org) are the sole legal distributors of CCRP controls. No control or portion of any control package (ocx, dll, help file, demo code or zip) may be posted or distributed via any web site, online service or BBS, or included on any CD or with any other software media without explicit written permission from CCRP control lead developer unless the control is a required part of a completed application being distributed. In addition, CCRP controls may not be distributed via any fee-based service or media. Email addresses of the lead developers can be found on the CCRP Membership page.

The Common Controls Replacement Project and/or the author of this control reserves the right to stop anyone from using this control at any point if he wishes.

Control Registration:

We always like to know who uses our controls. And registering yourself as a developer using CCRP controls has its advantages. Receive email notification of additions and updates, participate in the Project's newsgroups, and access product support. Take a few seconds to register by filling out the form on the web site (there is a link at the bottom of the download page).


AVI Resource Tutorial

Information on using AVI Resources:

Using this control it is possible to display an AVI included as a resource within the compiled EXE and such that it is not necessary to distribute the original AVI files with the application. In addition, it is possible to load an AVI resource from any DLL and the control supports loading the standard ones displayed by Explorer for file-related operations via the OpenStandardAVIResource method.

This file provides a brief overview of the ins and outs of including AVI resource in your application and a catches you should be aware of:

The catch is that the control is not able to display an AVI resource whilst the program is being run within the IDE. Therefore, you must compile the application to an EXE and run the EXE to correctly load and play an AVI Resource.

The first step to including an AVI resource into your application is to create a resource template (.RC) file containing something like this:

1  AVI  DISCARDABLE     filecopy.avi

The first number is the unique identifier of the resource. The resource must be of type AVI or else the control will not load the resource. Finally, you should specify that the resource is discardable and then give
the name of the file that you wish to include as a resource.

Once you have created this file, you need to use a resource compiler to create a .RES file (Microsoft supply a resource compiler with most of their development products called RC.EXE).

Once you have created the .RES file, go to your project in VB5, select Project, Add File... and select the .RES file you have just created. The .RES file will be added under related documents and will be compiled into
the EXE when you build your project.

To display the AVI resource, place a ccrpAnimation control on a form and in the appropriate section of the code, add the line:

ccrpAnimation.OpenAVIResource 1, App.hInstance

replacing 1 by the unique identifier of the resource as defined in the RC file. You must pass App.hInstance as the last parameter or the control will not be able to locate the resource. If AutoPlay is set to true for the control then the AVI will start playing once this line is executed. If not, you will need to call the Play method to start the AVI playing.

This is all that is required to include an AVI resource into your application and play it. If you are a registered owner of VB5, you can simplify the management of resource files within the IDE by downloading the
VB Resource Editor add-in from the Visual Basic owner's site (link from http://www.microsoft.com/vbasic).

An example project demonstrating the use of AVI resources can be found in RESDEMO.ZIP included with this file.

If you intend to use standard resources as used by Windows Explorer such as the File Copy animation or Find File animation, they can be loaded directly by the control simply by calling the OpenStandardAVIResource method. Currently this method can load the resources equivalent to the following files provided with VB5:

Find Folder  	SEARCH.AVI
Find File	FINDFILE.AVI
Find Computer	FINDCOMP.AVI
File Copy	(Similar to FILECOPY.AVI)
File Move	FILEMOVE.AVI
Delete to Recycle Bin	FILEDEL.AVI
Empty Recycle Bin	FILENUKE.AVI
File Delete	FILEDELR.AVI


Support, updates, reporting bugs and suggesting improvements.

Support and Updates:

Visit the official CCRP website at http://www.mvps.org/ccrp to:

•	obtain updates and other CCRP controls,

•	report bugs or suggest improvements,

•	obtain technical support through the CCRP newsgroups.


Error Codes

The following are error codes that the control may raise:

Error Opening AVI	35752
Error Playing AVI	35753
Error Closing AVI	35757
Error Stopping AVI	35758

Error loading DLL	48

The AVI specific errors are defined in the aniErrors enumeration for your convenience.


COMCTL32.DLL versions

Microsoft frequently provides updates to COMCTL32.DLL. These updates add new features to the controls found in COMCTL32.DLL. At the time of writing, there are four versions of COMCTL32.DLL available:

version 4.00 - Installed by Windows 95
version 4.70 - Installed by Internet Explorer 3
version 4.71 - Installed by Internet Explorer 4
version 4.72 - A version released after Internet Explorer 4 which for the first time is redistributable.

The ComCtlVer property will return the currently installed version of COMCTL32.DLL.

Version-specific features:

Certain features implemented in this control require a minimum version of COMCTL32.DLL to function correctly. No error will occur if the version is previous to this but the control will degrade gracefully and not use that feature or there is alternative functionality built into the control that emulates the functionality in higher versions of COMCTL32.DLL and this functionality is used as appropriate.

The TimerType property requires version 4.70 of COMCTL32.DLL
The OpenAVIResource, OpenAVIResourceFromDLL and OpenStandardAVIResource work best under version 4.71 or higher. If a version lower than 4.70 is present then the control will still load an AVI resource but there is some additional overhead when opening the AVI resource. It is therefore recommended that if you wish to use the AVI resource functionality of the control, you install the redistributable update to COMCTL32.DLL on machines on which your application is being used.

Obtaining the COMCTL32.DLL redistributable update:

In order to redistribute version 4.72 of COMCTL32.DLL, you must download a self-extracting EXE from Microsoft's web site. You must then call the EXE from within your setup program. You may not simply copy COMCTL32.DLL in your setup program. CCRP highly recommend that you distribute this update to your clients so that this and other CCRP controls will function fully. The self-extracting EXE can be downloaded from:

http://www.microsoft.com/msdn/downloads/files/40Comupd.htm

The self-extracting EXE is called 40comupd.exe and can be invoked silently from your setup program.


About CCRP

As the interface to the Windows common control dynamic link library, COMCTL32.OCX gives developers access to most of Window's common controls including the Listview, Toolbar, Statusbar, Progress Bar and Imagelist. Powerful and versatile when implemented via the API, for the developer who relies on comctl32.ocx there arise many disadvantages.

The comctl32.ocx file itself is over 600kb in size in size, making distribution impractical for small applications or internet pages needing only a fraction of what the control encapsulates. The control is also restricted in the features that it delivers, features users often associate as indicative of a 'state of the art' application. COMCTL32.OCX can also be very sluggish; the ocx is but an interface to the real 450kb Windows COMCTL32.DLL file, which contains the actual code for the common controls. In addition, Microsoft regularly updates COMCTL32.DLL to provide new features but these new features are not available through COMCTL32.OCX directly.

The Common Controls Replacement Project is a new and unique project, combining the extensive talents of Windows developers who's aim is to provide smaller, faster, more fully-featured and free replacements to the provided Microsoft Windows Common Controls, Common Dialog controls, and 'Intrinsic Controls' - those provided as part of the standard VB toolbar. The project now has fourteen members who pool their knowledge to create the CCRP controls.

For more information visit our website at http://www.mvps.org/ccrp. Scan the pages for each control to see its current features and development status. Registration for any control is free by filling out a short form from the control's download link. And if you want to help out, see the information at the Join CCRP link.
For a comprehensive listing of the CCRP members, their projects and other information, including how to become a CCRP developer, see the CCRP Membership page.

Note that some CCRP controls specify minimum design and runtime requirements to achieve full functionality. These are listed along with each control's enhanced functionality on the control's information page, as well as the download page. The requirements very from whether or not SP2 is required to use a control to the version of COMCTL32.DLL needed for some properties, methods and events to function correctly. See COMCTL32.DLL versions for more information on the latter and the Introduction for more information on SP2.


Included Demos and Examples

Two Demos are included with this control and should be decompressed to separate directories when the ZIP is decompressed:

Demo.vbp demonstrates many of the controls features.
ResDemo.vbp demonstrates how to use the control to play an AVI resource. See the included AVI Resource Tutorial for more information on AVI resources.

In addition, various code snippets are included within this help file to help you perform common tasks with the control:

Resizing a Form to the size of an AVI


Demo.vbp

The code to display the File Open Common Dialog was written by Domenico Statuto (dstatuto@mbox.vol.it). He has developed the FileDialogs Control for CCRP which wraps this and much more functionality into an OCX that provides advanced features not provided by COMDLG32.DLL such as allowing the addition of extra controls to the dialog.


ResDemo.vbp

The Resource demo is based on work by Ramon Guerrero (zonecorp@dallas.net).


Resizing a Form to the size of an AVI

This example demonstrates the use of the AutoSize property to resize a form containing an animation control so the form is the same size as the control (and the animation effectively fills the form):

To use this example:

* Place an Animation control in the top-left hand corner of a form and rename it ccrpAnimation.
* Set the AutoSize property of the control to True

Put this code into the Form_Load event of the form:

  ccrpAnimation.OpenAVI "FILECOPY.AVI"
  Width = (Width - ScaleWidth) + ccrpAnimation.Width
  Height = (Height - ScaleHeight) + ccrpAnimation.Height

Note that you may have to change "FILECOPY.AVI" to reflect the location of the AVI you want to play. The code uses Width - ScaleWidth to calculate the width of the border of the form which must be taken into account when resizing the form (the same applies for the Height property).

The above code could easily be modified to include the height of a button on the form when resizing the form.


Animation Library
Controls

Description:   	CCRP Animation Control (Apartment Threaded)
Library:     	Animation
File Name:       	CCRPANI.OCX
Help File:
GUID:        	{e112f284-62ab-11d1-a1fa-00c0dfe045f2}
Control:     	   ccrpAnimation


ccrpAnimation Control
Properties     Methods     Events

Control Name:  	   ccrpAnimation
Description:
File Name:      	 CCRPANI.OCX
Help File:
GUID:        	 {e112f27c-62ab-11d1-a1fa-00c0dfe045f2}
Properties:   	 14
Events:       	 6
Methods:      	 10

DLL Base Address: &H51290000

Before you can use a ccrpAnimation control in your application, you must add the CCRPANI.OCX file to your project. If you use the control in most of your VB projects, you may want to add it to VB's Autoload file.

To distribute applications you create with the ccrpAnimation control, you must install and register it on the user's computer. The Setup Wizard provided with Visual Basic provides tools to help you do that. Please refer to the Visual Basic manual for details.


Appearance Property
See Also     Examples     Applies to

Returns/sets whether or not an object is painted at run time with 3-D effects.

Syntax
[form!]ccrpAnimation.Appearance[ = aniAppearanceConstants ]

Settings
Valid settings for the Appearance property are:

Value	Constant
0	aniFlat
1	ani3D
2	ani3DRaised

Remarks
Setting the Appearance property to ani3D draws the control with a sunken 3D effect whereas ani3DRaised draws the control with a raised 3D effect.

Data Type
aniAppearanceConstants (Enumeration)

Default Value
aniFlat = 0


AutoOpen Property
See Also     Examples     Applies to

Returns/sets whether or not the AVI is automatically loaded when the control is initialised.

Syntax
[form!]ccrpAnimation.AutoOpen[ = {True | False} ]

Remarks
If this property is true then the control will automatically attempt to open the AVI in the filename property when the control is initialised and when the filename property is set.

Data Type
Boolean

Default Value
True


AutoPlay Property
See Also     Examples     Applies to

Returns/sets whether or not the animation starts automatically when the AVI is opened.

Syntax
[form!]ccrpAnimation.AutoPlay[ = {True | False} ]

Remarks
If this property is true then when an AVI file or resource is opened by the control (either by calling OpenAVI, OpenAVIResource, OpenAVIResourceFromDLL, OpenStandardAVIResource or automatically by the control when the AutoOpen property is true) then the control will automatically start playing the AVI.

Data Type
Boolean

Default Value
True


AutoSize* Property
See Also     Examples     Applies to

Returns/sets whether or not the control automatically resizes to fit the AVI being displayed.

Syntax
[form!]ccrpAnimation.AutoSize[ = {True | False} ]

Remarks
If this property is true then when an AVI is loaded into the control, the control will automatically resize itself to reflect the size of the AVI. This property is useful if you want to resize the form on which an Animation control is on to the same size as the AVI being played. For an example that illustrates how to do this see the Resizing a Form to the size of an AVI example.

Note that the Center property is ignored if AutoSize is true.

Data Type
Boolean

Default Value
False


BackStyle* Property
See Also     Examples     Applies to

Returns/sets whether the background of the AVI is transparent or as defined in the AVI.

Syntax
[form!]ccrpAnimation.BackStyle[ = aniBackStyleConstants ]

Settings
Valid settings for the BackStyle* property are:

Value	Constant
0	aniTransparent
1	aniOpaque

Remarks
An AVI includes a background colour defined it. Setting this property to 1 - aniOpaque will use this color rather than drawing the control with a transparent background.

Data Type
aniBackStyleConstants (Enumeration)

Default Value
aniTransparent = 0


Center Property
See Also     Examples     Applies to

Returns/sets whether or not the animation is centered within the control. Ignored if AutoSize is true.

Syntax
[form!]ccrpAnimation.Center[ = {True | False} ]

Remarks
When this property is true, the animation is centered within the control.

Data Type
Boolean

Default Value
False


CloseAVI Method
See Also     Examples     Applies to

Closes the currently open AVI.

Syntax
[form!]ccrpAnimation.CloseAVI


ComCtlVer Property
See Also     Examples     Applies to

Returns an integer indicating the version of COMCTL32.DLL currently in use. 2 - Win95 version; 3 - IE3 version; 4 - IE4 version.

Syntax
[form!]ccrpAnimation.ComCtlVer[ = value As Integer ]

Remarks
There are several versions of COMCTL32.DLL available. Microsoft frequently updates COMCTL32.DLL and adds new features to the controls that it provides. This property allows you to determine which version is installed on a system. See COMCTL32.DLL versions for more info including how to distribute an updated COMCTL32.DLL to users of your application.

Data Type
Integer


Filename Property
See Also     Examples     Applies to

Sets the AVI file to play or returns the AVI playing.

Syntax
[form!]ccrpAnimation.Filename[ = value As String ]

Remarks
If the AutoOpen property is True when you set this property then the control will automatically open the AVI. If the AutoPlay property is also True then the control will also start playing the AVI.

Data Type
String


MouseIcon Property
See Also     Examples     Applies to

Sets a custom mouse icon.

Syntax
[form!]ccrpAnimation.MouseIcon[ = Picture ]

Data Type
Picture


MousePointer Property
See Also     Examples     Applies to

Returns/sets the type of mouse pointer displayed when over part of an object.

Syntax
[form!]ccrpAnimation.MousePointer[ = MousePointerConstants ]

Data Type
MousePointerConstants


OpenAVI Method
See Also     Examples     Applies to

Opens an AVI File ready to be played.

Syntax
[form!]ccrpAnimation.OpenAVI Filename As String

Remarks
If you do not specify a Filename, then the value of the Filename property is opened. If the control cannot open the AVI it will return an error (See Error Codes for a list of errors raised by the control)

If an AVI does not load, it may be that the AVI is not compatible with the control. The same restrictions apply to AVI files using this control as apply to AVIs loaded using the animation control found in COMCT232.OCX. This means that AVIs with audio streams or AVIs compressed in non-RLE formats may not work. Consult the documentation for COMCT232.OCX for more information.


OpenAVIResource Method
See Also     Examples     Applies to

Opens an AVI resource ready to be played.

Syntax
[form!]ccrpAnimation.OpenAVIResource ResID As Long, hInstance As Long

Remarks
Similar to the OpenAVI method except that OpenAVIResource loads the AVI clip from a resource rather than a file. When calling this method you should pass App.hInstance as the hInstance argument or the control will not be able to locate the resource correctly.

For more information on including AVI Resources in your application see the AVI Resource Tutorial.

The ResDemo.vbp sample supplied with the control demonstrates the use of AVI resources with this control.

This method works best when version 4.71 of COMCTL32.DLL is installed - see COMCTL32.DLL versions for more information about this.


OpenAVIResourceFromDLL Method
See Also     Examples     Applies to

Opens an AVI resource from a DLL ready to be played.

Syntax
[form!]ccrpAnimation.OpenAVIResourceFromDLL ResID As Long, DLLName As String

Remarks
Similar to the OpenAVIResource method, this method allows you to specify a DLL to load the resource from rather than providing an instance. This allows you create a DLL containing only AVI resources and it will be loaded on demand. This will often be advantageous as it moves the AVI resources out of your EXE. Also, if you are providing updates to your application, the size of the update will be reduced because the AVI is not included in the EXE.

For more information on including AVI Resources in your application see the AVI Resource Tutorial.

The ResDemo.vbp sample supplied with the control demonstrates the use of AVI resources with this control.

This method works best when version 4.71 of COMCTL32.DLL is installed - see COMCTL32.DLL versions for more information about this.


OpenStandardAVIResource Method
See Also     Examples     Applies to

Opens a standard AVI resource ready to be played.

Syntax
[form!]ccrpAnimation.OpenStandardAVIResource ResID As aniStandardResourceConstants

Remarks
Windows Explorer uses some animations whilst performing time-consuming such as when it is copying or moving files or when it is searching. This control allows you to directly access these animation without including them in your application.

The animations that can be loaded by this method and the corresponding filename with which they were provided on the VB5 CD are as follows:

Find Folder  	SEARCH.AVI
Find File	FINDFILE.AVI
Find Computer	FINDCOMP.AVI
File Copy	(Similar to FILECOPY.AVI)
File Move	FILEMOVE.AVI
Delete to Recycle Bin	FILEDEL.AVI
Empty Recycle Bin	FILENUKE.AVI
File Delete	FILEDELR.AVI


Play Method
See Also     Examples     Applies to

Plays the currently loaded AVI file.

Syntax
[form!]ccrpAnimation.Play Repetitions As Long, StartFrame As Integer, EndFrame As Integer


SeekFrame Method
See Also     Examples     Applies to

Seeks to the specified frame.

Syntax
[form!]ccrpAnimation.SeekFrame Frame As Integer

Remarks
You can use this method to display a specific frame of an animation or by varying Frame you can step through the frames in animation.


Status Property
See Also     Examples     Applies to

Returns the Status of the control: 0 - Empty; 1 - Opened; 2 - Playing; 3 - Stopped.

Syntax
aniStatusConstants = [form!]ccrpAnimation.Status

Settings
Valid settings for the Status property are:

Value	Constant
0	aniEmpty
1	aniOpened
2	aniPlaying
3	aniStopped

Remarks
You can use this property to retrieve the current status of the control so you can tell whether or not an AVI clip is currently loaded and whether or not it is currently playing.

The StatusChanged event fires whenever the Status of the control changes such as an animation start playing or stopping.

Data Type
aniStatusConstants (Enumeration)

Default Value
aniEmpty = 0


StatusChanged Event
See Also     Examples     Applies to

Occurs when the Status of the control changes.

Syntax
Private Sub ccrpAnimation_StatusChanged(OldStatus As aniStatusConstants, NewStatus As aniStatusConstants)

Remarks
This event is fired whenever the status of the control changes such as when the control starts playing an animation or stops playing an animation. It is particularly useful if you are using the Repetitions argument of the Play method to playing an animation a set number of times.

OldStatus indicates the previous status of the control
NewStatus indicates the new status of the control.

See the Status property which can be used to get the status of the control at any time.


StopPlaying Method
See Also     Examples     Applies to

Stops the curently playing animation.

Syntax
[form!]ccrpAnimation.StopPlaying


TimerType Property
See Also     Examples     Applies to

Returns/sets how the control synchronises it's display internally. Default is by using a new thread but can use a Timer.

Syntax
[form!]ccrpAnimation.TimerType[ = aniTimerTypeConstants ]

Settings
Valid settings for the TimerType property are:

Value	Constant
0	aniThread
1	aniTimer

Remarks
This property will only have any effect if version 4.70 or above of COMCTL32.DLL is installed on the system on which the control is being used. For more info on how to ensure that this is the case see COMCTL32.DLL versions.

Data Type
aniTimerTypeConstants (Enumeration)

Default Value
aniThread = 0


aniAppearanceConstants Constants

Used with
Appearance (ccrpAnimation)

Value	Constant
0	aniFlat
1	ani3D
2	ani3DRaised


aniBackStyleConstants Constants

Used with
BackStyle (ccrpAnimation)

Value	Constant
0	aniTransparent
1	aniOpaque


aniBorderStyleConstants Constants

Used with
BorderStyle (ccrpAnimation)

Value	Constant
0	aniNone
1	aniFixedSingle


aniStandardResourceConstants Constants

Value	Constant
150	aniresFindFolder
151	aniresFindFile
152	aniresFindComputer
160	aniresFileCopy
161	aniresFileMove
162	aniresFileDel
163	aniresFileNuke
164	aniresFileDelR


aniStatusConstants Constants

Used with
Status (ccrpAnimation)

Value	Constant
0	aniEmpty
1	aniOpened
2	aniPlaying
3	aniStopped


aniTimerTypeConstants Constants

Used with
TimerType (ccrpAnimation)

Value	Constant
0	aniThread
1	aniTimer


aniErrors Constants

Value	Constant
35752	aniErrOpenAVI
35753	aniErrPlayAVI
35757	aniErrStopAVI
35758	aniErrCloseAVI


aniDropModeConstants Constants

Used with
OLEDropMode (ccrpAnimation)

Value	Constant
0	aniNone
1	aniManual